*  Input Resource File for Printing example
*

example/Print.Rsrc

Type JEF9 = STR
  ,0
Jeffery J. Bradford    Version 1.0    April 1985

Type BNDL
  ,128
  JEF9 0
  2
  ICN# 1
  0  128
  FREF 1
  0  128

Type FREF
  ,128
  APPL 0

Type ICN#
  ,128
  2
00000000
00000000
00000000
00000000
000FFFF8
00100010
0026FF20
00400040
009F6880
070001FF
097F7203
130003E5
2500024B
4FFFFF95
80000029
FFFFFFD1
80000061
FFFFFFC1
80000041
90000E45
8000004A
80000E50
80000050
8FFFFE50
88000260
F80003C0
00000000
00000000
00000000
00000000
00000000
00000000
*MASK FOLLOWS
00000000
00000000
00000000
00000000
000FFFF8
001FFFF0
003FFFE0
007FFFC0
00FFFF80
07FFFFFF
0FFFFFFF
1FFFFFFF
3FFFFFFF
7FFFFFFF
FFFFFFFF
FFFFFFFF
FFFFFFFF
FFFFFFFF
FFFFFFFF
FFFFFFFF
FFFFFFFA
FFFFFFF0
FFFFFFF0
FFFFFFF0
F80003E0
F80003C0
00000000
00000000
00000000
00000000
00000000
00000000

* apple menu, 14 is apple symbol in HEX
Type MENU
  ,256
  \14

Type MENU
  ,260
  Print Dialogs
  Page Setup Dialog /S
  Print Dialog /P
  (-
  Disable Chooser
  Enable Chooser
  (-
  Quit /Q

* file menu
Type MENU
  ,257
  Print Mgr
  Frame Page
  Frame Text
  All QD Calls
  QD Picture
  Use TextBox
  Print Bitmap
  Chk SetOrigin
  Justify Text
  Rotate Text
  Trick Grid
  Trick Polygon

*Print driver test menu items
Type MENU
  ,261
  Print Driver
  Bit Map
  Screen wEvt
  Screen wBits
  Stream Text
  Send PostScript

* make a scrap of the QDPicture
Type MENU
  ,262
  Copy QDPic
  Put in ClipBoard

* edit menu
Type MENU
  ,258
  Font

* Font menu
Type MENU
  ,259
  Style
  Plain
  Bold <B
  Italic <I
  Underline <U
  Outline <O
  Shadow <S
  (-
  9  Point
  10 Point
  12 Point
  14 Point
  18 Point
  24 Point

* text window definition
Type WIND
  ,257
  Printer Display
  40 40 330 400
  Visible GoAway
  0
  0

*
* Dialog to cancel or pause printing
* it is used as a modeless dialog
Type DLOG
  ,257
  130 125 180 375
  Visible 1 NoGoAway 0
  256

* Item list for the print cancel dialog
Type DITL
  ,256
  3
  BtnItem  Enabled
  15 10 35 80
Cancel

  BtnItem  Enabled
  15 90 35 160
Pause

  BtnItem  Enabled
  15 170 35 240
Continue

* this is the text string
Type STR
  ,256(4)
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
Type CODE
  example/PrintL,0
